import { Component } from '@angular/core';
import {Router, RouterLink, Routes} from '@angular/router';
import { LoginComponent } from '../login/login.component';
import { RegisterComponent } from '../register/register.component';
import {NzButtonComponent} from "ng-zorro-antd/button";
import {NzCardComponent} from "ng-zorro-antd/card";
import {NzRowDirective} from 'ng-zorro-antd/grid';
import {NzTooltipDirective} from 'ng-zorro-antd/tooltip';
import {NzIconDirective} from 'ng-zorro-antd/icon';

const routes: Routes = [
  { path: '/login', component: LoginComponent },
  { path: 'register', component: RegisterComponent }
]

@Component({
  selector: 'app-index',
  standalone: true,
  imports: [RouterLink, NzButtonComponent, NzCardComponent, RouterLink, NzRowDirective, NzTooltipDirective, NzIconDirective],
  templateUrl: './index.component.html',
  styleUrl: './index.component.css'
})
export class IndexComponent {

  constructor(private router: Router){}
}
